<%@ include file="/WEB-INF/jsp/include/skin_head.jsp" %><%@ page language="java" pageEncoding="UTF-8"%><%@ taglib uri="http://geeksaga.com/pagination-taglib" prefix="bbs" %>
    <div id="pw_bbs_list">
        <div id="pw_bbs_list_header"></div>
        <div id="pw_bbs_list_body">
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td rowspan="2" valign="top">
		            <table border="0" cellspacing="0" cellpadding="0" width="200">
		            	<thead>
		            		<tr>
		            			<th colspan="2"><spring:message code="wiki.space" /></th>
		            	    </tr>
		            	</thead>
		                <tbody>
		                    <c:forEach items="${bbsCategory}" var="category" varStatus="status">
		                    <tr onmouseover="this.style.backgroundColor='#f1f6fb'" onmouseout="this.style.backgroundColor='#fefefe'">
		                        <td align="left">
		                            <a href="<c:url value="/bbs/view.do?bbsNo=${category.targetSid}" />">${category.categoryName}</a>
		                        </td>
		                        <td>
		                            <a href="<c:url value="/bbs/hierarchy.do?bbsId="/>${bbs.bbsId}&amp;categorySid=${category.sid}">Browse Space</a> | 
		                            <a href="<c:url value="/bbs/edit.do?bbsId="/>${bbs.bbsId}&amp;categorySid=${category.sid}&amp;command=ADD">새글</a>
		                        </td>
		                    </tr>
		                    </c:forEach>
		                </tbody>
		            </table>
					</td>
					<td>
		            <table border="0" cellspacing="0" cellpadding="0" width="500">
		            	<thead>
		            		<tr>
		            			<th colspan="3"><spring:message code="wiki.recent" /></th>
		            	    </tr>
		            	</thead>
		                <tbody>
		                    <c:forEach items="${list}" var="bbs" varStatus="status">
		                    <tr onmouseover="this.style.backgroundColor='#f1f6fb'" onmouseout="this.style.backgroundColor='#fefefe'">
		                        <td align="left">
		                            <a href="<c:url value="/bbs/view.do?bbsNo=${bbs.bbsNo}" />">${bbs.title}</a>
		                        </td>
		                        <c:if test="${bbsType.showNickYn == '1'}">
		                        <td>${bbs.userNick}</td>
		                        </c:if>
		                        <c:if test="${bbsType.showRegistDateYn == '1'}">
		                        <td>${bbs.registDate} ${bbs.registTime}</td>
		                        </c:if>
		                    </tr>
		                    </c:forEach>
		                </tbody>
		            </table>
            		</td>
            	</tr>
            	<tr>
            		<td>
		            <table border="0" cellspacing="0" cellpadding="0" width="500">
		            	<thead>
		            		<tr>
		            			<th colspan="3"><spring:message code="wiki.recentUpdate" /></th>
		            	    </tr>
		            	</thead>
		                <tbody>
		                    <c:forEach items="${updateList}" var="bbs" varStatus="status">
		                    <tr onmouseover="this.style.backgroundColor='#f1f6fb'" onmouseout="this.style.backgroundColor='#fefefe'">
		                        <td align="left">
		                            <a href="<c:url value="/bbs/view.do?bbsNo=${bbs.bbsNo}"/>">${bbs.title}</a>
		                        </td>
		                        <c:if test="${bbsType.showNickYn == '1'}">
		                        <td>${bbs.userNick}</td>
		                        </c:if>
		                        <c:if test="${bbsType.showRegistDateYn == '1'}">
		                        <td>${bbs.modifyDate} ${bbs.modifyTime}</td>
		                        </c:if>
		                    </tr>
		                    </c:forEach>
		                </tbody>
		            </table>            		
            		</td>
            	</tr>
            </table>
        </div>
        <%@ include file="/WEB-INF/jsp/include/copyright.jsp" %>
    </div>